package com.ftg.learn.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 数据模型
 *
 * @author 布衣
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

//knife4j
@ApiModel
public class DeptDomain {

    @ApiModelProperty(value = "部门编号", example = "1")
    private Integer deptno;

    @ApiModelProperty(value = "部门名称", example = "开发部")
    private String dname;

    @ApiModelProperty(value = "部门地址", example = "北京")
    private String loc;

}
